From: "Stefan Stuntz"Date: Fri, 01 Mar 1996 17:20:06 +0100 X-Mailer: IntuiNews 1.3b Beta 5 (3.1.96) Subject: Re: MUIA_ContextMenu Message-Id: <81319749@magic.informatik.tu-muenchen.de> Organization: Home of MUI Resent-Message-Id: <"o5spL2.0.Rj.oGoDn"@sunsite> Resent-From: mui@sunsite.Informatik.RWTH-Aachen.DE Reply-To: mui@sunsite.Informatik.RWTH-Aachen.DE X-Mailing-List: archive/latest/465 X-Loop: mui@sunsite.informatik.rwth-aachen.de Precedence: list Resent-Sender: mui-request@sunsite.Informatik.RWTH-Aachen.DE Content-Type: text Content-Length: 579 X-Lines: 16 Status: RO Steffen Gutmann wrote > The autodocs say that I must not share a context menu with objects in > other windows. So I allocate a new menu for each object I want > a context menu. The autodocs also say that the menu is not disposed > when the object is diposed so I have to keep track of it. > The only way I see here is to use a custom class that keeps track > of the context menu and disposes it when the object is disposed. > Are there any other solutions? Best way is maybe to create&dispose the context menus you need in a subclass of window class. -- Greetings, Stefan